package com.exception;

public class ExceptionClass4{
	public static void main(String[] args){
		int a = 67;
		int b = 0;
		double c = -1d;
		try{
			try{
				c = a/b;
			}catch(ArithmeticException ae){
				b = 100;
				c = a/b;
			}
			System.out.println(a+"/"+b+"="+c);
		}catch (Exception ex){
			ex.printStackTrace();
		}
	}
}